class AfGlobalUrl {
  static const String getAppConfig = 'config/getAppConfig';
  static const String getStrategy = 'config/getStrategy';
  static const String oauth = 'security/oauth';
  // 融云 - 登录过后才能调用
  static String rongCloudTokenApi = "user/rongcloud/token";

  /// 登录接口 -> application/x-www-form-urlencoded
  static String oauthApi = "security/oauth";

  /// 批量获取媒体资源接口
  static String shortLink = "shortLink/media/search";
  // 自动登录 -> 校验接口
  static String validTokenApi = "security/isValidToken";
  static String logoutApi = "security/logout";
  static String deleteAccountApi = "user/deleteAccount";
  // 获取用户信息
  static String fetchUserInfoApi = "user/getUserInfo";
  // 获取用户信息
  static String fetchBroadcasterApi = "broadcaster/wall/search";
  // 更新用户信息
  static String updateUserInfoApi = "user/saveUserInfo";
  // 更新头像
  static String updateUserAvatarApi = "user/updateAvatar";

  static String followApi = "user/addFriend";
  static String unfollowApi = "user/unfriend";
  static const getFriendsList = "user/getFriendsListPage";

  static String blockApi = "report/complain/insertRecord";
  static String unblockApi = "report/complain/removeBlock";
  static String blockListApi = "report/complain/blockList";

  // purchase
  static String productListApi = "coin/goods/search";

  // 花钱买礼物
  static String payForGiftApi = "coin/reviewModeConsume";
  static String createOrderApi = "coin/recharge/create";
  // 验证
  static String verifyPurchaseApi = "coin/recharge/payment/ipa";

  // 上传相关
  static String ossModelFetchApi = "user/oss/policy";
  // 转换路径 -> 上传返回的只有相对路径，而不是url
  static String convertMediaPathApi = "shortLink/media/get";

  // 日志
  static String logApi = "log/live-chat";
}
